package com.tfjybj.itoo.teach;

import org.apache.dubbo.config.spring.context.annotation.DubboComponentScan;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ImportResource;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author 商俊帅
 * @date 2022/01/11 16:08
 **/
@SpringBootApplication
//@ImportResource({"classpath:spring-dubbo.xml"})
@MapperScan("com.tfjybj.itoo.teach.provider.dao")
@EnableSwagger2
@EnableDiscoveryClient
@DubboComponentScan
public class TeachSpringBootApplication {
    public static void main(String[] args) {
        SpringApplication.run(TeachSpringBootApplication.class,args);
    }
}
